var Client = require('ssh2').Client;
var extend = require('node.extend');

var ssh = (function () {
	return {
		conn: function(options, callback){
			var client = new Client();
			client.on('ready',function(){
				callback(client);
			}).connect(options);
		}
	};
})();

module.exports = ssh;